SiteMailer\Modules\Settings\Banners\PLG_Banner S

Total Complexity 34
Dependencies 4
Dependents 1
Total lines 376
Lines of code 312
Logical lines of code 74
Comment lines 3
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
get_plg_banner()
A
33 2 183
passes_conditions()
S
61 5 14
resolve_visible_type()
S
66 4 8
is_active_min_days()
S
59 3 14
has_woocommerce_installed()
S
66 3 9
get_banner_data()
S
53 1 23
get_banner_props()
S
56 1 20
should_show_plg_banner()
S
71 2 6
meets_min_usage_requirements()
S
79 2 3
is_woocommerce_banner_eligible()
S
79 2 3
is_forms_banner_eligible()
S
79 2 3
get_pointer_name()
S
78 1 3
user_viewed_plg_banner()
S
79 1 3
has_min_email_activity()
S
72 1 5
has_supported_form_plugin()
S
80 1 3
get_first_any_mail_datetime()
S
71 1 6
is_domain_banner_eligible()
S
79 1 3
is_unsubscribe_banner_eligible()
S
79 1 3